<template>
  <el-dialog
    :model-value="dialogVisible"
    title="微信登录"
    width="30%"
    @close="handleClose"
    ><img
      src="https://minico.qq.com/qrcode/get?type=2&r=1&size=300&b=miniapp&text=https://www.qq.com"
      style="float: auto"
    />
  </el-dialog>
</template>

<script setup>
import VueQr from 'vue-qr'
import { defineEmits, ref, getCurrentInstance } from 'vue'
import QRCode from 'qrcodejs2'
import { adduser } from '@/api/user'
import QrcodeVue from 'qrcode.vue'
import { ElMessage } from 'element-plus'
const { proxy, ctx } = getCurrentInstance()
const _this = ctx
const value = ref('http://www.baidu.com/')
const config = ref({
  value: 'www.baidu.com' //  显示的值、跳转的地址
})
</script>

<style lang="scss" scoped></style>
